/*--------------------------------------------------------------------
 - File:
 - Data&Autor:
 - Introduction: 勿扰控制
 ----------------------------------------------------------------------*/

#ifndef DISTURB_CTRL_H_
#define DISTURB_CTRL_H_
#include "stdint.h"
#include "stdbool.h"
typedef struct
{
    uint8_t key;
    uint8_t wr_flag;
    uint8_t enable_flag;
    uint8_t start_hour;
    uint8_t start_minute;
    uint8_t end_hour;
    uint8_t end_minute;
    uint8_t reserved[9];
} disturb_packet_t;

void disturb_init(void);
void disturb_param_set(disturb_packet_t *p_disturb_param);
void disturb_param_get(disturb_packet_t *p_disturb_param);
bool m_dont_disturb_section_check(void);

#endif
